
interface dataSourceType {
  [propName: string]: any;
}
export const checkForm = async (
  _rule: dataSourceType = {},
  value: any
) => {
  let reaValue = _rule.fullField;
  console.log(reaValue, 'reaValue');
  if (_rule.required) {
    // 必填项验证非空并排除非必须项
    if (reaValue === '') {
      return Promise.reject(`${_rule.msg1}`);
    }

  }
};
